package com.answer.service;

import com.answer.dto.ReturnError;
import com.answer.exception.ElementEmptyException;
import com.answer.exception.RecordEmptyException;
import com.answer.model.Question;
import com.answer.service.base.BaseService;

/**
 * Created by Administrator on 2017/4/13.
 */
public interface QuestionService extends BaseService<Question> {
    ReturnError saveQues(Question ques) throws ElementEmptyException;

    ReturnError updateQues(Question ques) throws ElementEmptyException, RecordEmptyException;

    ReturnError removes(String ids);
}
